#!/bin/sh /etc/rc.common
# Copyright (C) 2012 OpenWrt.org

START=50

SERVICE_USE_PID=1

start() {
	service_start /usr/sbin/sflowovsd -f /var/run/hsflowd.auto
}

stop() {
	service_stop /usr/sbin/sflowovsd

	pid_file="/var/run/sflowovsd.pid"
	[ -f "$pid_file" ] && rm -f "$pid_file"
}
